package com.shinewind.task.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.shinewind.pojo.entity.UserInfoMapping;
import com.shinewind.task.mapper.IUserInfoMappingMapper;
import com.shinewind.task.service.IUserInfoMappingService;
import org.springframework.stereotype.Service;

@Service
public class UserInfoMappingServiceImpl extends ServiceImpl<IUserInfoMappingMapper,UserInfoMapping> implements IUserInfoMappingService {
    @Override
    public Integer getMappingUidByStrUid(String uId) {
        UserInfoMapping userInfoMapping = this.lambdaQuery().eq(UserInfoMapping::getUId,uId).one();
        return userInfoMapping.getUIdMapping();
    }
}
